<%= link_to "back to main",:action=>:index %>
&nbsp;

<h1><%= @article.title %></h1>
<table border="1">
  <tr><td><%= @article.content %></td></tr>
  <tr><td>post by <%=   @article.user.name %> </td>
          <td>views <%=@article.views %></td>
          <td>time: <%= @article.created_at %></td>
  </tr>
</table>


